﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KoolearnSample.Model
{
    //get the api address
    public class ApiAddress
    {
        public static string GetOpenCategoryAddress()
        {
            return "http://app.koolearn.com/api/open/category.json";
        }
        public static string GetOpenCourseAddress()
        {
            return "http://app.koolearn.com/api/open/course_list.json?cid={0}";
        }
        public static string GetRegisterAddress()
        {
            return "http://app.koolearn.com/api/user/register.json";
        }
        public static string GetAskAddress()
        {
            return "http://app.koolearn.com/api/communication/ask.json";
        }
        public static string GetExamCategoryAddress()
        {
            return "http://app.koolearn.com/api/exam/category.json";
        }
        public static string GetExamInfoAddress()
        {
            return "http://app.koolearn.com/api/exam/info.json?eid={0}";
        }
    }
}
